<?php
/**
 * Created by PhpStorm.
 * User: zd
 * Date: 2018/9/28
 * Time: 16:54
 */

namespace app\api\validate;


class PagingParameter extends BaseValidate
{
    protected $rule=[
        'page'=>'isPositiveInt',
        'size'=>'isPositiveInt'
    ];

    protected  $message=[
        'page'=>'分页必须是正整数',
        'size'=>'分页必须是正整数'
    ];
}